package com.qf.service.Impl;

import com.qf.dao.Impl.SheetDaoImpl;
import com.qf.dao.SheetDao;
import com.qf.pojo.Sheet;
import com.qf.service.SheetService;

import java.util.List;

public class SheetServiceImpl implements SheetService {
    SheetDao sheetDao = new SheetDaoImpl();
    @Override
    public List<Sheet> findAll() {
        return sheetDao.findAll();
    }

    @Override
    public void add(String sheetName) {
        sheetDao.add(sheetName);
    }
}
